<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>贪吃蛇</title>
</head>
<style>
    #map{
        width: 80%;
        height: 400px;
        border: 1px solid orange;
    }
</style>
<body>
    <div id="map"></div>
    <script type="module">
        import Game from './game.js'
        let map = document.getElementById('map')
        let game = new Game()
        game.start()
    </script>
</body>
</html>